<template>
  <nav-bar class="nav-bar">
    <div class="left" slot="left" @click="handleSkipInfo"></div>
    <div class="center" slot="center">修改用户名</div>
  </nav-bar>
</template>

<script>
import NavBar from 'components/common/navbar/NavBar'
export default {
  methods: {
    handleSkipInfo() {
      this.$router.back()
    }
  },
  components: {
    NavBar
  }
}

</script>
<style lang="less" scoped>
.nav-bar {
  background-color: #3190e8;
  .left {
    width: 10px;
    height: 10px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    margin-left: 10px;
    transform: rotate(-45deg);
  }
  .center {
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
  }
}
</style>